
package com.zsrt.book.util;

import java.util.ArrayList;
import java.util.List;

import com.zsrt.book.entity.BookEntity;

public class BookUtil {

	public static List<BookEntity> init(){
		List<BookEntity> bookLists = new ArrayList<BookEntity>();
		
		BookEntity book1= new BookEntity();
		book1.setBookNum(1001);
		book1.setBookName("七剑下天山");
		book1.setDescription("群秒天下");
		book1.setBorrowState("N");
		
		BookEntity book2= new BookEntity();
		book2.setBookNum(1002);
		book2.setBookName("八仙过海");
		book2.setDescription("大显神通");
		book2.setBorrowState("Y");
		
		BookEntity book3= new BookEntity();
		book3.setBookNum(1003);
		book3.setBookName("天天向上");
		book3.setDescription("好玩的很呀");
		book3.setBorrowState("Y");
		
		BookEntity book4= new BookEntity();
		book4.setBookNum(1004);
		book4.setBookName("西游记");
		book4.setDescription("妖行天下");
		book4.setBorrowState("Y");
		
		BookEntity book5= new BookEntity();
		book5.setBookNum(1005);
		book5.setBookName("美食天下");
		book5.setDescription("好吃的东东在哪儿");
		book5.setBorrowState("Y");
		
		BookEntity book6= new BookEntity();
		book6.setBookNum(1006);
		book6.setBookName("动物世界");
		book6.setDescription("猴呢");
		book6.setBorrowState("Y");
		
		bookLists.add(book6);
		bookLists.add(book5);
		bookLists.add(book4);
		bookLists.add(book3);
		bookLists.add(book2);
		bookLists.add(book1);
		
		return bookLists;
	}
}
